package com.beamfield.dao.steelplant;

import com.beamfield.model.SteelplantSimpleIssueDetail;
import com.beamfield.modelVo.SteelplantSimpleIssueVO;
import org.apache.ibatis.annotations.Param;

import java.util.Arrays;
import java.util.List;

public interface SteelplantSimpleIssueDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SteelplantSimpleIssueDetail record);

    int insertSelective(SteelplantSimpleIssueDetail record);

    SteelplantSimpleIssueDetail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SteelplantSimpleIssueDetail record);

    int updateByPrimaryKey(SteelplantSimpleIssueDetail record);

    int deleteByIssueId(@Param("issuesId") Long issuesId);

    List<SteelplantSimpleIssueVO> selectPage(@Param("offset") String offset,@Param("limit") String limit,@Param("issueId") String issueId);

    long countPage(String issueId);

    List<SteelplantSimpleIssueDetail> selectBySuppliesId(String suppliesId);

    List<SteelplantSimpleIssueDetail> selectYear(Long beamId);
}
